home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group93a.txt / 000025_icon-group-sender _Sun Jan 17 08:01:24 1993.msg < prev    next >
Internet Message Format  |  1993-04-21  |  6KB

  1. Received: by cheltenham.cs.arizona.edu; Sun, 17 Jan 1993 09:11:43 MST
  2. Date: 17 Jan 1993 08:01:24 -0600 (CST)
  3. From: Chris Tenaglia - 257-8765 <TENAGLIA@mis.mcw.edu>
  4. Subject: RE:entab/detab
  5. To: icon-group@cs.arizona.edu
  6. Message-Id: <01GTM84WCM828WWTTE@mis.mcw.edu>
  7. Organization: Medical College of Wisconsin (Milwaukee, WI)
  8. X-Vms-To: IN%"icon-group@cs.arizona.edu"
  9. Mime-Version: 1.0
  10. Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
  11. Content-Transfer-Encoding: 7BIT
  12. Status: R
  13. Errors-To: icon-group-errors@cs.arizona.edu
  14.  
  15. > From:    IN%"alex@laguna.Metaphor.COM" 16-JAN-1993 21:57:19.34
  16. > To:    IN%"icon-group@cs.arizona.edu"
  17. > Subj:    RE: entab/detab
  18.  
  19. > I use entab and detab quite a bit -- often the text I want to process
  20. > is entabbed, and often I want to entab my output.
  21. Kind of like my reason but in reverse. I guess some people have a use
  22. for tabs.
  23.  
  24. > Interestingly, those routines once *were* library routines (in a
  25. > slightly different form), and made it into the language somewhere
  26. > around version 6.  Certainly they *could* be library routines, but this
  27. > sort of operations is way faster as a primitive than if it were written
  28. > in Icon.  I personally don't feel that it clutters up the language.
  29. > It would be interesting to create a questionaire to determine which
  30. > features are rarely used.  E.g. how often do you use string invocation,
  31. > or PDCOs, or run-time error conversion to failure?
  32. I think you'd find a pretty even mixture of all kinds overall. I never
  33. use entab() or coexpressions. Someone else might understand coexpressions
  34. and think they're the greatest thing since the byte.
  35.  
  36. > I think an interesting (significant) project would be to create a
  37. > smaller but more extensible Icon.  The "real" Icon would just be a
  38. > nucleus, and much of the functionality could be added using new
  39. > yet-to-be-conceived extensibility features.  The extensibility
  40. > cabilities would include
  41.  
  42. >     (a) "easy" addition of new primitives written in C (whatever
  43. >         that means -- maybe without relinking the interpreter, or
  44. >         at least with changes limited to one module.  Maybe dynamic
  45. >         linking -- that seems to be a trend and is implemented in
  46. >         popular platforms now.)
  47. Many icon programmers are not computer science majors. Those of us whose
  48. skill in C is little to none, need/use those added features the most, and
  49. have the least chance of rolling our own.
  50.  
  51. Variant translators and personal interpreters sound cool in conversation,
  52. but many of us don't have a clue as to what they can do for us.
  53.  
  54. >     (b) addition of new facilities written in Icon without creating
  55. >         name conflicts.
  56. >     (c) overloading of existing functions (like copy()) and
  57. >         operators to handle new data types.
  58. More vendors these days are segmenting their product lines. They tell you
  59. this is to make the product more 'modular'. They tell you that you should
  60. not have to pay for features you don't use, and this modularity will save
  61. you all kinds of money because of that. (Where would unix be if we had to
  62. buy C and tcp/ip and each utility as a separate line item?)
  63.  
  64. What happens is the stripped down core gets sold at the regular price,
  65. every little value added feature becomes a line item. Now ICON is not
  66. a profit driven item like C++ or WordPerfect or Netware. The part that
  67. is unpleasant here is that code won't be as portable unless you ship
  68. all your icon language enhancements with them, and maybe your enhancements
  69. may not like my enhancements. By keeping what some consider a lot of
  70. language bloating in a central version, icon can maintain maximum code
  71. portability. And I'll let hardware improvements make up for the added
  72. memory or speed requirements.
  73.  
  74. > Has anyone else out there had a similar fantasy?  Then things like
  75. > entab, X-stuff, and maybe even string scanning could be "extensions".
  76.  
  77. I'd like to see a few things added to icon. Here's my wishlist:
  78.  
  79.           1) every to by
  80.              First for these to work with reals, and maybe someday
  81.              with any type. &next &prior &first &last to be used
  82.              also for referencing when numbers may not be meaningful.
  83.              This may also contribute toward true scanning features
  84.              for lists, sets, tables, and files.
  85.              
  86.           2) User defined operator $ ?
  87.              Maybe just the $ character or maybe $+. Maybe this is
  88.              superfluous because procedures can do it all to. But,
  89.              I think it's no more pathological than string invocation
  90.              which already exists.
  91.  
  92.           3) Two way pipes
  93.              I know this one is probably tricky. I'd like to open a process
  94.              for read and write, then I'd only need one file handle
  95.              for a piping dialog. I can also then completely control
  96.              the process IO. If I open a process for write I can't
  97.              directly read its output unless I redirect it to a file
  98.              and read that in separately. This may not always be
  99.              possible.
  100.  
  101.           4) OS independent files
  102.              Since icon is now on VMS, Unix, MAC, DOS, IBM and each has
  103.              a file system syntax for files, directories, and disks, it
  104.              would sure be easier to write totally portable code if the
  105.              icon language had a universal file system syntax. Then the
  106.              backend interpreter/compiler would handle mapping this
  107.              syntax to the file system of the target OS.
  108.   
  109. > -- Bob Alexander
  110. > Metaphor Computer Systems     (415) 966-0751      alex@metaphor.com
  111. > ====^=== Mountain View, CA  ...{uunet}!{decwrl,apple}!metaphor!alex
  112.  
  113. Chris Tenaglia (System Manager) |  "The past explained,     
  114. Medical College of Wisconsin    |   the future fortold, 
  115. 8701 W. Watertown Plank Rd.     |   the present largely appologized for."
  116. Milwaukee, WI 53226             |   Organon to The Doctor
  117. (414)257-8765                   |     
  118. tenaglia@mis.mcw.edu
  119.  
  120.